﻿<%@ Page Language="C#" Theme="Default" AutoEventWireup="true" MasterPageFile="~/GeneralAdmin.master" CodeFile="curso_form.aspx.cs" Inherits="curso_form" %>

<asp:content id="Content1" contentplaceholderid="contenido" runat="server">
    <form id="form1" runat="server">
        <table class="formulario">
            <tr>
                <td style="height:50px; padding-left:80px;" colspan="2" align="center" id="lblAccion">
                    <asp:Label SkinID="Titulo" ID="lblTitulo" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td align="right" style="width: 149px; height: 26px">
                    <asp:Label SkinID="CampoFormulario" ID="Label3" runat="server" Text="Materia"></asp:Label></td>
                <td style="width: 474px; height: 26px">
                    <asp:DropDownList ID="ddlMateria" runat="server" DataSourceID="ObjectDataSource1" DataTextField="NomMateria" DataValueField="IdMateria">
                    </asp:DropDownList><asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="RecuperarTodos"
                        TypeName="Academia.Negocio.Materias"></asp:ObjectDataSource>
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 149px; height: 26px">
                    <asp:Label SkinID="CampoFormulario" ID="Label4" runat="server" Text="Comisión"></asp:Label></td>
                <td style="width: 474px; height: 26px">
                    <asp:DropDownList ID="ddlComision" runat="server" DataSourceID="ObjectDataSource2" DataTextField="NroComision" DataValueField="IdComision">
                    </asp:DropDownList><asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="RecuperarTodos"
                        TypeName="Academia.Negocio.Comisiones"></asp:ObjectDataSource>
                </td>
            </tr>
            <tr>
                <td style="width: 149px; height: 26px;" align="right">
                    <asp:Label SkinID="CampoFormulario" ID="Label2" runat="server" Text="Año"></asp:Label></td>
                <td style="width: 474px; height: 26px;">
                    <asp:TextBox ID="txtAnio" runat="server" Width="224px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 149px; height: 26px;" align="right">
                    <asp:Label SkinID="CampoFormulario" ID="Label1" runat="server" Text="Cupo"></asp:Label></td>
                <td style="width: 474px; height: 26px;">
                    <asp:TextBox ID="txtCupo" runat="server" Width="224px"></asp:TextBox>
                </td>
            </tr>
             <tr>
                <td style="width: 149px; height: 26px;" align="right">
                    <asp:Label SkinID="CampoFormulario" ID="Label5" runat="server" Text="Aula"></asp:Label></td>
                <td style="width: 474px; height: 26px;">
                    <asp:TextBox ID="txtAula" runat="server" Width="224px"></asp:TextBox>
                </td>
            </tr>
             <tr>
                <td style="width: 149px; height: 26px;" align="right">
                    <asp:Label SkinID="CampoFormulario" ID="Label6" runat="server" Text="Abierto"></asp:Label></td>
                <td style="width: 474px; height: 26px;">
                    <asp:DropDownList ID="ddlAbierto" runat="server"></asp:DropDownList></td>
            </tr>
            </table>
            <table style="margin-top:20px; margin-left:80px;">
            <tr>
                <td style="width: 150px;" align="center">
                    <asp:Button ID="btnGuardar" runat="server" OnClick="btnGuardar_Click" /></td>
                <td style="width: 150px;" align="center">
                    <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" OnClick="btnCancelar_Click" /></td>
            </tr>
            <asp:HiddenField ID="tipoOp" runat="server" />
        </table>
    </form>      
</asp:content>